﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MarketOnlineDAO;
using MarketOnlineDTO;

namespace MarketOnlineBUS
{
    public class ThamSoBUS
    {
        public Boolean ThemThamSo(ThamSoDTO ts)
        {
            return new ThamSoDAO().ThemThamSo(ts);
        }

        public Boolean XoaThamSo(ThamSoDTO ts)
        {
            return new ThamSoDAO().XoaThamSo(ts);
        }

        public Boolean CapNhatThamSo(ThamSoDTO ts)
        {
            return new ThamSoDAO().CapNhatThamSo(ts);
        }

        public List<ThamSoDTO> LayDanhSachThamSo()
        {
            return new ThamSoDAO().LayDanhSachThamSo();
        }
    }
}
